package com.nbcio.modules.estar.completion.service;

import com.nbcio.modules.estar.completion.entity.ErpCompletionB;
import com.nbcio.modules.estar.completion.entity.ErpCompletion;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 完工单
 * @Author: nbacheng
 * @Date:   2024-04-07
 * @Version: V1.0
 */
public interface IErpCompletionService extends IService<ErpCompletion> {

	/**
	 * 添加一对多
	 *
	 */
	public void saveMain(ErpCompletion erpCompletion,List<ErpCompletionB> erpCompletionBList) ;

	/**
	 * 修改一对多
	 *
	 */
	public void updateMain(ErpCompletion erpCompletion,List<ErpCompletionB> erpCompletionBList);

	/**
	 * 删除一对多
	 */
	public void delMain (String id);

	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);

	/**
	 * 关联业务流程
	 */
	public void relationAct(String dataId);


}
